<%@ page  import="java.util.*" %>
<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<link href="/css/POS/POSPayment/POSPayment.css" rel="stylesheet"/>
<link type="text/css" href="/css/POS/GenerateOrder/GenerateOrder.css" rel="stylesheet"/>
<link href="/css/POS/PaymentDialog/paymentDialog.css" rel="stylesheet" />
<script src="/js/POS/Payment/payment.js"></script>
<div name="generateorder_Block">
	<div class="Orderproductheader">
		<div name="tabletitle_forOrder" class="tabletitle_position"></div>
	</div>
</div>
<div>
	<table class="pos_pament_table">
		<tr>
			<td class="posPaymentleft">
				<div class="pos_pament_guesthead ">
					<div class="posPaymentLeftinfo">
					<div class="pos_payment_icon paymenticon tbcell"></div>
					<div class="paymentText tbcell"><%out.print(resource.getString("POS.payment.payment"));%></div>
					<div class="tbcell sizebtninhead"><div class="notebtn"><div class="elmInbtnNote"><div class="pos_payment_icon noteicon"></div></div></div></div>
					<div class="tbcell"><div class="editTablebtn"><div class="elmInbtneditTable"><div class="pos_payment_icon editTableicon"></div></div></div></div>
					</div>
					<div>
						<div>
							<div name="pos_payment_tablename" class="tabletext tbcell">Table Sample</div>
							<div class="tbcell" name="forGroup"></div>
							<div name="pos_payment_guestData">
								<div class="inlineb" style="width:50%">
									<div>
										<div class="inlineb pos_payment_icon POSpaymentGuest_icon1"></div>
										<div class="inlineb" name="pos_payment_guestName"></div>
									</div>
									<div>
										<div class="inlineb pos_payment_icon POSpaymentGuest_icon2"></div>
										<div class=" inlineb" name="pos_payment_guestTel"></div>
									</div>
								</div>
								<div class="inlineb">
									<div class="">
										<div class="inlineb pos_payment_icon POSpaymentGuest_icon3"></div>
										<div class=" inlineb" name="pos_payment_guestAmt"></div>
									</div>
									<div class="">
										<div class="inlineb"><%out.print(resource.getString("POS.payment.seated"));%></div>
										<div class=" inlineb" name="pos_payment_time"></div>
									</div>
								</div>
							</div>
					<div name="pos_payment_totalPrice">
					<span name="totalTitle" class="btnStrong"><%out.print(resource.getString("POS.payment.totalAmt"));%>:</span> <span name="pos_payment_totalAry"></span>
					</div>
				</div>
					</div>
					<div>
					</div>
				</div>
				<div class="selectedPay">
					<div class="selectedPaytext"><%out.print(resource.getString("POS.payment.selpayType.Selectpaytype"));%></div>
					<div class="selectbtnBlock">
						<input class="selectPaymentbtn" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.Cash"));%>">
						<input class="selectPaymentbtn" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.Cheque"));%>">
						<input class="selectPaymentbtn" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.creditc"));%>">
						<input class="selectPaymentbtn" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.Roomtransfer"));%>">
						<input class="selectPaymentbtn" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.oth"));%>">
						
						<input class="selectbtnCustomer" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.emailRe"));%>">
						<input class="selectbtnCustomer" type="button" value="<%out.print(resource.getString("POS.payment.selpayType.btn.printRe"));%>">
					</div>
				</div>
				<input type="button" class="btnBacktoCornfirm" value="<%out.print(resource.getString("POS.payment.selpayType.btn.bco"));%>">
			</td>
			<td class="POSpaymetdetail">
				<div class="genOrder_Orderdetail_head">
					<div class="inlineb" style="margin-left:10px;">
						<div class="Odetailtaitle btnStrong"><%out.print(resource.getString("POS.payment.orderdetail.od"));%></div>
						<div><%out.print(resource.getString("POS.payment.orderdetail.f"));%>#<span name="folioNumber">-</span></div>
						<div><span><%out.print(resource.getString("POS.payment.orderdetail.date"));%>:</span><span name="orderDateTime"></span></div>
					</div>
					<div class="inlineb" style="left: 100%;padding-left: 70%;">
						<div>&nbsp;</div>
						<div class="btnStrong"><%out.print(resource.getString("POS.payment.orderdetail.total"));%><div name="balanceAmt" class="btnStrong">0</div></div>
						<div>&nbsp;</div>
					</div>
				</div>
				<div class="Orderdetail_foliotital btnStrong"><span><%out.print(resource.getString("POS.payment.orderdetail.f"));%>#</span><span></span></div>
								<div class="Orderdetail_commandBtn">
					<div class="createNewbtn btnfoliocommand" >
						<div class="genOrder_icon btnPrinticon tbcell"></div>
						<div class="tbcell"><%out.print(resource.getString("POS.Order.genOrder.print"));%></div>
					</div>
					<input type="button" class="btnfoliocommand" value="<%out.print(resource.getString("POS.Order.genOrder.btnUporder"));%>" onclick="updateOrderPayment()"></input>
					<input type="button" class="btnfoliocommand" value="<%out.print(resource.getString("POS.Order.genOrder.btnCusCharge"));%>" onclick="POScustomCharge()"></input>
				</div>
								<div>
					<table name="table_folio_item">
						<tr name="table_folio_header">
							<td>#</td>
							<td><%out.print(resource.getString("POS.Order.genOrder.Pname"));%></td>
							<td><%out.print(resource.getString("POS.Order.genOrder.Uprice"));%></td>
							<td><%out.print(resource.getString("POS.Order.genOrder.Unit"));%></td>
							<td><%out.print(resource.getString("POS.Order.genOrder.disc"));%></td>
							<td><%out.print(resource.getString("POS.Order.genOrder.tax"));%></td>
							<td><%out.print(resource.getString("POS.Order.price"));%></td>
						</tr>
						<tr name="table_folio_total">
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td><span class="folioTotle"><%out.print(resource.getString("POS.Order.genOrder.totle"));%></span></td>
							<td>&nbsp;</td>
							<td><span name="folio_totle_dis" class="disAndtax">0</span></td>
							<td><span name="folio_totle_tax" class="disAndtax">0</span></td>
							<td><span name="folio_totle_price">0</span></td>
						</tr>
					</table>
				</div>
				<div>
					<table style="width:100%"><tr>
						<td style="width:50%">&nbsp;</td>
						<td style="widtth:50%">
							<div class="chSummaryTotal">
								<span><%out.print(resource.getString("POS.Order.genOrder.subT"));%></span>
								<span class="chRight">0</span>
							</div>
							<div class="chSummaryTotal">
								<span><%out.print(resource.getString("POS.payment.orderdetail.discount"));%></span>
								<span class="chRight">0</span>
							</div>
							<div class="chSummaryTotal">
								<span><%out.print(resource.getString("POS.Order.genOrder.texes"));%></span>
								<span class="chRight">0</span>
							</div>
							<div class="chSummaryTotal btnStrong">
								<span><%out.print(resource.getString("POS.Order.genOrder.totalA"));%></span>
								<span class="chRight">0</span>
							</div>
							<div class="chSummaryTotal btnStrong">
								<span><%out.print(resource.getString("POS.Order.genOrder.paid"));%></span>
								<span class="chRight">0</span>
							</div>
							<div class="chSummaryTotal btnStrong">
								<span><%out.print(resource.getString("POS.Order.genOrder.balance"));%></span>
								<span class="chRight">0</span>
							</div>
						</td></tr></table>
				</div>
				<div class="pamentDetailTable">
					<div class="paymentdetailText"><%out.print(resource.getString("POS.payment.payDetail.paymentD"));%></div>
					<div><table class="paymentdetail">
							<tr class="paymentdetail_head">
								<td><%out.print(resource.getString("POS.payment.payDetail.pm"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.pt"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.ccnum"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.r"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.d"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.dt"));%></td>
								<td><%out.print(resource.getString("POS.payment.payDetail.amt"));%></td>
							</tr>
							<tr>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
								<td>&nbsp;</td>
							</tr>
						</table></div>
						<div><input type="button" class="refundbtn" value="<%out.print(resource.getString("POS.payment.payDetail.btn.refundm"));%>"></div>
				</div>
				<div class="genOrder_Orderdetail_history paymentHisNote">
					<div class="btnStrong"><%out.print(resource.getString("POS.Order.genOrder.hisNote"));%></div>
					<div class="historybox" style="width: 60%;"></div>
					<div>
						<div class="createNewbtn btnHistorygroup tbcell" onclick="clickHistoryTable()">
							<div class="genOrder_icon btnhistoryIcon tbcell"></div>
							<div class="tbcell"><%out.print(resource.getString("POS.Order.genOrder.showAllhis"));%></div>
							<div class="tbcell" name="historyAmt">&nbsp;(0)</div>
						</div>
						<div class="tbcell">&nbsp;</div>
						<div class="createNewbtn btnHistorygroup tbcell" style="width:70px;" onclick="clickAddTask()">
							<div><%out.print(resource.getString("POS.Order.genOrder.addNote"));%></div>
						</div>
					</div>
				</div>
				<div class="genOrder_Orderdetail_btnbtm">
					<input type="button" class="btnbtmgroup btnStrong" value="<%out.print(resource.getString("POS.payment.btn.btnPrintre"));%>">
					<input type="button" class="btnbtmgroup btnStrong" value="<%out.print(resource.getString("POS.payment.btn.closet"));%>">
				</div>
			</td>
		</tr>
	</table>
	<div for="payment" style="display:none;">
	</div>
</div>